home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
DIALOGUT
/
DIALOGUT.H
< prev
Wrap
Text File
|
1990-06-25
|
730b
|
25 lines
/*
* DialogUtils.h
*/
#ifndef H_DialogUtils
#define H_DialogUtils
#include <MacTypes.h>
/* Return topLeft point to center standard file dialogs. */
extern Point DU_StdPutWhere(void);
extern Point DU_StdGetWhere(void);
/*
* Pre-load and center ALRT/DLOG template resources. Changes do not affect
* the resource file, but if the ALRT/DLOG is created soon after the call
* it will use the modified (centered) template in memory. Both routines
* return the passed rsrc id to allow calls like:
* Alert(DU_CenterALRT(alertID),filter);
* GetNewDialog(DU_CenterDLOG(dlogID),dStorage,behindWindow);
*/
extern short DU_CenterALRT(short rsrcId);
extern short DU_CenterDLOG(short rsrcId);
#endif /* H_DialogUtils */